﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using System.Drawing;
using System.Windows.Forms;
using Styx;
using Styx.Combat.CombatRoutine;
using Styx.Helpers;
using Styx.Logic;
using Styx.Logic.Combat;
using Styx.Logic.Pathing;
using Styx.WoWInternals;
using Styx.WoWInternals.WoWObjects;
using Styx.Logic.POI;

namespace HarmoniousVigor
{
    public partial class Warrior
    {
        public bool furyCombat()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (furyPVPCombat())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (furyDungeonCombat())
                    return true;
            }
            else
            {
                if (furyQuestingCombat())
                    return true;
            }

            return false;
        }
        public bool furyHeal()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (furyPVPHeal())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (furyDungeonHeal())
                    return true;
            }
            else
            {
                if (furyQuestingHeal())
                    return true;
            }

            return false;
        }
        public bool furyBuff()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (furyPVPBuff())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (furyDungeonBuff())
                    return true;
            }
            else
            {
                if (furyQuestingBuff())
                    return true;
            }

            return false;
        }
        public bool furyPullSpell()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (furyPVPPullSpell())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (furyDungeonPullSpell())
                    return true;
            }
            else
            {
                if (furyQuestingPullSpell())
                    return true;
            }

            return false;
        }
    }
}
